type: TrafficRoute
name: web-to-backend
mesh: default
sources:
- match:
    kuma.io/service: kuma-example-web
    env: prod
destinations:
- match:
      # NOTE: only `service` tag can be used here (in `universal` all TCP connections will have `127.0.0.1` as destination => it's not enough info to infer any other destination tags)
    kuma.io/service: kuma-example-backend
conf:
  split:
  - weight: 0
    destination:
      kuma.io/service: kuma-example-backend
      version: v1
  - weight: 100
    destination:
      kuma.io/service: kuma-example-backend
      version: v2
